/**
 * Copyright (c) Software Institute of PKU
 * All rights reserved. 
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 */
package edu.pku.sei.modeler.ui.editors;

import java.util.List;

import org.eclipse.gef.rulers.RulerProvider;

import edu.pku.sei.modeler.model.structure.MetaDiagramRuler;

/**
 * @author zl
 *
 */
public class MetaEditorRulerProvider extends RulerProvider {
private MetaDiagramRuler ruler;
	
	public MetaEditorRulerProvider(MetaDiagramRuler ruler) {
		this.ruler = ruler;
	}
	
	public int[] getGuidePositions() {
		List guides = getGuides();
		int[] result = new int[guides.size()];
		for (int i = 0; i < guides.size(); i++) {
			
		}
		return result;
	}
	
	public Object getRuler() {
		return ruler;
	}
}
